package com.redis.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * Created by junli on 2018/1/11.
 */
@RestController
public class IndexController {

    @GetMapping(value = "/")
    public String index() {
        return "welcome : + " + new Date();
    }
}
